// samsting : this file is auto create.

#include "Drds/2015-04-13/DescribeDrdsDBsResponse.h"

namespace aliyun { namespace Drds {

DescribeDrdsDBsResponse::DescribeDrdsDBsResponse() {
}

const string& DescribeDrdsDBsResponse::Db::GetDbName(void) const {
  return DbName_;
}

int DescribeDrdsDBsResponse::Db::GetStatus(void) const {
  return Status_;
}

const string& DescribeDrdsDBsResponse::Db::GetCreateTime(void) const {
  return CreateTime_;
}

const string& DescribeDrdsDBsResponse::Db::GetMsg(void) const {
  return Msg_;
}

const string& DescribeDrdsDBsResponse::Db::GetMode(void) const {
  return Mode_;
}

const std::vector<DescribeDrdsDBsResponse::Db>& DescribeDrdsDBsResponse::GetData(void) const {
  return Data_;
}

bool DescribeDrdsDBsResponse::GetSuccess(void) const {
  return Success_;
}

const char* DescribeDrdsDBsResponse::BaseKey(void) {
  return "DescribeDrdsDBsResponse";
}

void DescribeDrdsDBsResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Data__length = 0;
  UnmarshallerInt(Data__length, response_map, "DescribeDrdsDBsResponse.Data.Length");
  if(Data__length >= 0) {
    Data_.resize(Data__length);
    for(int i1 = 0; i1 < Data__length; i1++) {
      UnmarshallerString(Data_[i1].DbName_, response_map, "DescribeDrdsDBsResponse.Data["+string_ValueOfInt(i1)+"].DbName");
      UnmarshallerInt(Data_[i1].Status_, response_map, "DescribeDrdsDBsResponse.Data["+string_ValueOfInt(i1)+"].Status");
      UnmarshallerString(Data_[i1].CreateTime_, response_map, "DescribeDrdsDBsResponse.Data["+string_ValueOfInt(i1)+"].CreateTime");
      UnmarshallerString(Data_[i1].Msg_, response_map, "DescribeDrdsDBsResponse.Data["+string_ValueOfInt(i1)+"].Msg");
      UnmarshallerString(Data_[i1].Mode_, response_map, "DescribeDrdsDBsResponse.Data["+string_ValueOfInt(i1)+"].Mode");
    } // for(int i1 = 0; i1 < Data__length; i1++) {
  } // if(Data__length >= 0) {

  UnmarshallerBool(Success_, response_map, "DescribeDrdsDBsResponse.Success");
}


} } // namespace aliyun { namespace Drds {

// end of file 
